
var yal = function (window) {//"use strict"; // it works on strict environments too!

    /** DESCRIPTION
     *
     * yal does two things:
     *  - accepts 1 to N script arguments to load asynchronously
     *  - manages loading queue through wait calls
     *
     * yal
     *   .script("1.js")
     *   .wait(function () {
     *       init1();               // core dependency with initialization
     *   })
     *   .script("2.js", "3.js")
     *   .wait()                    // since 4.js depends on 2 and 3
     *   .script("4.js")
     *   .wait(function () {
     *       initAllBut1();         // ready to go
     *   })
     * ;
     *
     * yal is compatible with every browser I have been able to test.
     * see http://3site.eu/yal/ for more details
     *
     */
    